package com.ruoyi.system.service;

import java.util.List;

import com.ruoyi.system.domain.CSVCatalystsQualityEntry;
import com.ruoyi.system.domain.SysCatalystsQuality;
import org.apache.poi.ss.usermodel.Workbook;

/**
 * 催化剂质量检测Service接口
 * 
 * @author ruoyi
 * @date 2025-07-11
 */
public interface ISysCatalystsQualityService 
{
    /**
     * 查询催化剂质量检测
     * 
     * @param catalystsQualityId 催化剂质量检测主键
     * @return 催化剂质量检测
     */
    public SysCatalystsQuality selectSysCatalystsQualityByCatalystsQualityId(Long catalystsQualityId);

    /**
     * 查询催化剂质量检测列表
     * 
     * @param sysCatalystsQuality 催化剂质量检测
     * @return 催化剂质量检测集合
     */
    public List<SysCatalystsQuality> selectSysCatalystsQualityList(SysCatalystsQuality sysCatalystsQuality);

    /**
     * 新增催化剂质量检测
     * 
     * @param sysCatalystsQuality 催化剂质量检测
     * @return 结果
     */
    public int insertSysCatalystsQuality(SysCatalystsQuality sysCatalystsQuality);

    /**
     * 修改催化剂质量检测
     * 
     * @param sysCatalystsQuality 催化剂质量检测
     * @return 结果
     */
    public int updateSysCatalystsQuality(SysCatalystsQuality sysCatalystsQuality);

    /**
     * 批量删除催化剂质量检测
     * 
     * @param catalystsQualityIds 需要删除的催化剂质量检测主键集合
     * @return 结果
     */
    public int deleteSysCatalystsQualityByCatalystsQualityIds(Long[] catalystsQualityIds);

    /**
     * 删除催化剂质量检测信息
     * 
     * @param catalystsQualityId 催化剂质量检测主键
     * @return 结果
     */
    public int deleteSysCatalystsQualityByCatalystsQualityId(Long catalystsQualityId);

    /**
     * 校验批次号是否存在
     * @param list
     * @return
     */
    public List<String>checkNotExist(List<CSVCatalystsQualityEntry> list);

    /**
     * 批量插入
     * @param list
     * @return
     */
    public int insertSysCatalystsQualityList(List<SysCatalystsQuality> list);

    /**
     * 导出数据
     * @param list
     * @param type
     * @return
     */
    public Workbook export(List<SysCatalystsQuality> list , String type);


}
